//
/*******************************************************************************
# File        : AnJiaBMKAnnotationView.h
# Project     : AnJiaApp
# Author      : Siter
# Created     : 2020/7/21
# Corporation : 成都好房通科技股份有限公司
# Description :
    
-------------------------------------------------------------------------------
# Date        : 2020/7/21
# Author      : Siter
# Notes       :
    
******************************************************************************/


#import <BaiduMapAPI_Map/BMKAnnotationView.h>
#import "AnJiaMapAnnotation.h"

NS_ASSUME_NONNULL_BEGIN

@class AnJiaBMKAnnotationView;

@protocol  AnJiaBMKAnnotationViewDelegate <NSObject>

-(void)didSelectAnnotationView:(AnJiaBMKAnnotationView *)view;

@end

@interface AnJiaBMKAnnotationView : BMKAnnotationView

@property(strong,nonatomic)UILabel * titleLab;

@property(strong,nonatomic)UIImageView * iconView;

@property(assign,nonatomic)NSInteger currentIndex;

@property(assign,nonatomic)BOOL isSelect;

@property(copy,nonatomic)NSString * titleText;

@property(assign,nonatomic)AnJiaMapAnnotationUiStyleType uiStyle;

@property (nonatomic, weak) id<AnJiaBMKAnnotationViewDelegate> delegate;

/// app类型 1:安家 2:悠居客 3:精装好房
@property (nonatomic, assign) NSInteger appType;

/** 大区域标记渲染*/
-(void)setMaxProint:(NSString *)titleText;

/** 小区域标记渲染*/
- (void)setSmallProint:(NSString *)titleText isSelect:(BOOL)isSelect isHisSelected:(BOOL)isHisSelected;

/** 小区域标记点击后重新渲染*/
- (void)clickSmallProntUpDataUI:(BOOL)isSelect isHisSelected:(BOOL)isHisSelected;

// 区域和商圈
- (void)setBackCorlor:(BOOL)isSelected;

// 楼盘
- (void)setBuildBackCorlor:(BOOL)isSelected;

@end

NS_ASSUME_NONNULL_END
